package com.stone.framework.task.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("ST_JOB_REGISTER")
@Entity(name = "ST_JOB_REGISTER")
public class JobRegister {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @TableId(value = "ID", type = IdType.AUTO)
    @Column(name = "ID")
    private Long id;

    @TableField("SERVICE_NAME")
    @Column(name = "SERVICE_NAME")
    private String serviceName;

    @TableField("JOB_NAME")
    @Column(name = "JOB_NAME")
    private String jobName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

}
